package com.smsc.headend.task.engine.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smsc.headend.module.meterscheme.entity.CollMeterTaskPlan;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author liangli
 * @date 2020/9/2
 */
public interface CollMeterTaskPlanMapper extends BaseMapper<CollMeterTaskPlan> {
    @Update("UPDATE COLL_METER_TASK_PLAN SET PROGRESS_TIME = #{progressTime}, UPDATE_TIME=#{updateTime} WHERE MEASUREMENT_PROFILE_ID =#{measurementProfileId} AND METER_ID = #{meterId} ")
    void updateProgressTime(CollMeterTaskPlan collMeterTaskPlan);
}
